.tabbar {
    display: flex;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    z-index: 1000;
    /* 强制硬件加速，解决部分移动端 fixed 元素显示问题 */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.tabbar-item {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    color: #666; /* 未选中为默认灰色 */
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tabbar-icon {
    width: 24px; /* 设置图标宽度 */
    height: 24px; /* 设置图标高度 */
    margin-bottom: 4px;
}

.tabbar-item span {
    color: #666; /* 未选中文字为默认灰色 */
    transition: color 0.3s ease;
}

.tabbar-item.active {
    color: #007bff !important; /* 选中为系统高亮色 */
    font-weight: bold;
}


.tabbar-item.active span {
    color: #007bff !important; /* 选中文字为系统高亮色 */
}

.tabbar-item:hover {
    color: #0056b3;
}
